home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmDisplay.z / XmDisplay
Encoding:
Text File  |  2003-11-18  |  25.3 KB  |  595 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV         XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_D_i_s_p_l_a_y - The Display widget class
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.       #include <Xm/Display.h>
  13.  
  14.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.       The XmDisplay    object is used by the Motif widgets to store
  16.       information that is specific to a display.  It also allows
  17.       the toolkit to access    certain    information on widget
  18.       hierarchies that would otherwise be unavailable.  Each
  19.       client has one XmDisplay object for each display it
  20.       accesses.
  21.  
  22.       An XmDisplay object is automatically created when the
  23.       application creates the first    shell on a display (usually
  24.       accomplished by a call to _X_t_A_p_p_I_n_i_t_i_a_l_i_z_e or
  25.       _X_t_A_p_p_C_r_e_a_t_e_S_h_e_l_l).  It is not    necessary to create an
  26.       XmDisplay object by any other    means.    An application can use
  27.       the function _X_m_G_e_t_X_m_D_i_s_p_l_a_y to obtain    the widget ID of the
  28.       XmDisplay object for a given display.
  29.  
  30.       An application cannot    supply initial values for XmDisplay
  31.       resources as arguments to a call to any function that
  32.       creates widgets.  The    application or user can    supply initial
  33.       values in a resource file.  After creating the first shell
  34.       on the display, the application can use _X_m_G_e_t_X_m_D_i_s_p_l_a_y to
  35.       obtain the widget ID of the XmDisplay    object and then    call
  36.       _X_t_S_e_t_V_a_l_u_e_s to set the XmDisplay resources.
  37.  
  38.       XmDisplay resources specify the drag protocol    style for a
  39.       client participating in drag and drop    transactions.  There
  40.       are two basic    protocol types,    preregister and    dynamic.  When
  41.       a preregister    protocol is used, the toolkit handles any
  42.       communication    between    the initiator and receiver clients,
  43.       and displays the appropriate drag-over and drag-under    visual
  44.       effects.  A client registers its drop    sites in advance and
  45.       this information is stored in    a property for each top-level
  46.       window.  When    the drag pointer enters    a top level window,
  47.       the drop site    information is read by the initiator.  A
  48.       dynamic protocol allows the source and destination clients
  49.       to dynamically communicate drag and drop state information
  50.       between each other, and to update their respective visuals
  51.       accordingly.    The toolkit provides drop site information as
  52.       the pointer passes over any given drop site.    In this    mode,
  53.       a receiver can supply    a procedure to generate    its own    drag-
  54.       under    effects.
  55.  
  56.     CCCCllllaaaasssssssseeeessss
  57.       Display inherits behavior and    resources from _C_o_r_e,
  58.       _C_o_m_p_o_s_i_t_e, _S_h_e_l_l, _W_M_S_h_e_l_l, _V_e_n_d_o_r_S_h_e_l_l, _T_o_p_L_e_v_e_l_S_h_e_l_l, and
  59.       _A_p_p_l_i_c_a_t_i_o_n_S_h_e_l_l classes.
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV         XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))
  71.  
  72.  
  73.  
  74.       The class pointer is _x_m_D_i_s_p_l_a_y_C_l_a_s_s.
  75.  
  76.       The class name is _X_m_D_i_s_p_l_a_y.
  77.  
  78.     NNNNeeeewwww RRRReeeessssoooouuuurrrrcccceeeessss
  79.       The following    table defines a    set of widget resources    used
  80.       by the programmer to specify data.  The programmer can also
  81.       set the resource values for the inherited classes to set
  82.       attributes for this widget.  To reference a resource by name
  83.       or by    class in an ._X_d_e_f_a_u_l_t_s file, remove the    _X_m_N or _X_m_C
  84.       prefix and use the remaining letters.     To specify one    of the
  85.       defined values for a resource    in an ._X_d_e_f_a_u_l_t_s file, remove
  86.       the _X_m prefix    and use    the remaining letters (in either
  87.       lowercase or uppercase, but include any underscores between
  88.       words).  The codes in    the access column indicate if the
  89.       given    resource can be    set at creation    time (_C), set by using
  90.       _X_t_S_e_t_V_a_l_u_e_s (_S), retrieved by    using _X_t_G_e_t_V_a_l_u_e_s (_G), or is
  91.       not applicable (_N/_A).
  92.  
  93.                            XXXXmmmmDDDDiiiissssppppllllaaaayyyy RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  94.      NNNNaaaammmmeeee                 CCCCllllaaaassssssss                 TTTTyyyyppppeeee         DDDDeeeeffffaaaauuuulllltttt             AAAAcccccccceeeessssssss
  95.      __________________________________________________________________________________________________________________
  96.      XmNdefaultVirtualBindings         DefaultVirtualBindings         String         dynamic             CG
  97.      XmNdragInitiatorProtocolStyle   XmCDragInitiatorProtocolStyle   unsigned char   XmDRAG_PREFER_RECEIVER     CG
  98.      XmNdragReceiverProtocolStyle    XmCDragReceiverProtocolStyle    unsigned char   XmDRAG_PREFER_PREREGISTER     CG
  99.      defaultButtonEmphasis         DefaultButtonEmphasis         XtEnum         "external_highlight"     CG
  100.      enableBtn1Transfer             EnableBtn1Transfer             Boolean         False             CG
  101.      enableButtonTab             EnableButtonTab             Boolean         False             CG
  102.      enableDragIcon             EnableDragIcon             Boolean         False             CG
  103.      enableEtchedInMenu             EnableEtchedInMenu             Boolean         False             CG
  104.      enableMultiKeyBindings         EnableMultiKeyBindings         Boolean         False             CG
  105.      enableToggleColor             EnableToggleColor             Boolean         False             CG
  106.      enableToggleVisual             EnableToggleVisual             Boolean         False             CG
  107.      enableUnselectableDrag         EnableUnselectableDrag         Boolean         True             CG
  108.  
  109.  
  110.       _X_m_N_d_e_f_a_u_l_t_V_i_r_t_u_a_l_B_i_n_d_i_n_g_s
  111.            Specifies the default virtual bindings for the display.
  112.            Following is an example of a specification for the
  113.            _d_e_f_a_u_l_t_V_i_r_t_u_a_l_B_i_n_d_i_n_g_s resource in a resource file:
  114.            *defaultVirtualBindings:    \
  115.             osfBackSpace   :    <Key>BackSpace\n\
  116.             osfInsert       :    <Key>InsertChar\n\
  117.            ...
  118.             osfDelete       :    <Key>DeleteChar
  119.  
  120.       _X_m_N_d_r_a_g_I_n_i_t_i_a_t_o_r_P_r_o_t_o_c_o_l_S_t_y_l_e
  121.            Specifies the drag and drop protocol requirements or
  122.            preference when the client is an    initiator.  The
  123.            possible    values are
  124.  
  125.       _X_m_D_R_A_G__P_R_E_R_E_G_I_S_T_E_R
  126.  
  127.  
  128.  
  129.      Page 2                        (printed 11/11/03)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV         XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))
  137.  
  138.  
  139.  
  140.            As an initiator,    this client does not use the dynamic
  141.            protocol    and can    only arrange visual effects with
  142.            receivers who provide preregistered information.
  143.  
  144.       _X_m_D_R_A_G__D_Y_N_A_M_I_C
  145.            As an initiator,    this client does not make use of any
  146.            preregistered drop site information made    available by
  147.            other clients, and can only arrange visual effects with
  148.            receivers who use the dynamic protocol.
  149.  
  150.       _X_m_D_R_A_G__N_O_N_E
  151.            Specifies that drag and drop is disabled    for this
  152.            client.
  153.  
  154.       _X_m_D_R_A_G__D_R_O_P__O_N_L_Y
  155.            As an initiator,    this client does not use either    the
  156.            preregistered drop site information or the dynamic
  157.            protocol.  It supports dragging,    and any    time the
  158.            cursor is over a    client that supports drag and drop,
  159.            valid feedback is provided.  There are no other visual
  160.            effects.
  161.  
  162.       _X_m_D_R_A_G__P_R_E_F_E_R__D_Y_N_A_M_I_C
  163.            As an initiator,    this client can    support    both the
  164.            preregister and dynamic protocols, but prefers to use
  165.            dynamic protocols whenever possible in order to provide
  166.            high-quality drag-under feedback.
  167.  
  168.       _X_m_D_R_A_G__P_R_E_F_E_R__P_R_E_R_E_G_I_S_T_E_R
  169.            As an initiator,    this client can    support    both the
  170.            preregister and dynamic protocols, but prefers to use
  171.            the preregister protocol    whenever possible in order to
  172.            accommodate performance needs or    to provide consistent
  173.            drag-over feedback.
  174.  
  175.       _X_m_D_R_A_G__P_R_E_F_E_R__R_E_C_E_I_V_E_R
  176.            Indicates that this client can support both preregister
  177.            and dynamic protocols, but will defer to    the preference
  178.            of the receiver client.    This value is valid only for
  179.            the _X_m_N_d_r_a_g_I_n_i_t_i_a_t_o_r_P_r_o_t_o_c_o_l_S_t_y_l_e resource, and is its
  180.            default value.  Specifies the drag and drop protocol
  181.            requirements or preference when this client is a
  182.            receiver.  The values are
  183.  
  184.       _X_m_D_R_A_G__P_R_E_R_E_G_I_S_T_E_R
  185.            As a receiver, this client preregisters drop site
  186.            information and does not    use the    dynamic    protocol.  It
  187.            can only    arrange    visual effects with initiators who
  188.            make use    of the preregistered information.
  189.  
  190.       _X_m_D_R_A_G__D_Y_N_A_M_I_C
  191.            As a receiver, this client uses the dynamic protocol
  192.  
  193.  
  194.  
  195.      Page 3                        (printed 11/11/03)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV         XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))
  203.  
  204.  
  205.  
  206.            and does    not preregister    drop site information.    It can
  207.            only arrange visual effects with    initiators who use the
  208.            dynamic protocol.
  209.  
  210.       _X_m_D_R_A_G__N_O_N_E
  211.            Specifies that drag and drop is disabled    for this
  212.            client.
  213.  
  214.       _X_m_D_R_A_G__D_R_O_P__O_N_L_Y
  215.            As a receiver, this client neither uses the dynamic
  216.            protocol    nor preregisters drop site information.     It
  217.            supports    dropping, and when dragging over this client,
  218.            valid feedback is always    provided, but there are    no
  219.            other visual effects.
  220.  
  221.       _X_m_D_R_A_G__P_R_E_F_E_R__D_Y_N_A_M_I_C
  222.            As a receiver, this client can support both the
  223.            preregister and dynamic protocols, but prefers to use
  224.            dynamic protocol    whenever possible in order to provide
  225.            high-quality drag-under feedback.
  226.  
  227.       _X_m_D_R_A_G__P_R_E_F_E_R__P_R_E_R_E_G_I_S_T_E_R
  228.            As a receiver, this client can support both the
  229.            preregister and dynamic protocols, but prefers to use
  230.            the preregister protocol    whenever possible in order to
  231.            accommodate performance needs.
  232.  
  233.            The actual protocol used    between    an initiator and a
  234.            receiver    is based on the    protocol style of the receiver
  235.            and initiator.  The decision matrix is as follows:
  236.  
  237.      ____________________________________________________________________________________
  238.      |    DDDDrrrraaaagggg IIIInnnniiiittttiiiiaaaattttoooorrrr     |           DDDDrrrraaaagggg    RRRReeeecccceeeeiiiivvvveeeerrrr PPPPrrrroooottttooooccccoooollll SSSSttttyyyylllleeee             |
  239.      |    PPPPrrrroooottttooooccccoooollll SSSSttttyyyylllleeee     _|_______________________________________________________________|
  240.      |             | PPPPrrrreeeerrrreeeeggggiiiisssstttteeeerrrr | PPPPrrrreeeeffffeeeerrrr    PPPPrrrreeeerrrreeeeggggiiiisssstttteeeerrrr | PPPPrrrreeeeffffeeeerrrr DDDDyyyynnnnaaaammmmiiiicccc | DDDDyyyynnnnaaaammmmiiiicccc     |
  241.      _|____________________|______________|_____________________|_________________|___________|
  242.      |         PPPPrrrreeeerrrreeeeggggiiiisssstttteeeerrrr | Preregister | Preregister        | Preregister    | Drop Only |
  243.      _|____________________|______________|_____________________|_________________|___________|
  244.      |PPPPrrrreeeeffffeeeerrrr PPPPrrrreeeerrrreeeeggggiiiisssstttteeeerrrr | Preregister | Preregister        | Preregister    | Dynamic     |
  245.      _|____________________|______________|_____________________|_________________|___________|
  246.      |     PPPPrrrreeeeffffeeeerrrr    RRRReeeecccceeeeiiiivvvveeeerrrr | Preregister | Preregister        | Dynamic         | Dynamic     |
  247.      _|____________________|______________|_____________________|_________________|___________|
  248.      |      PPPPrrrreeeeffffeeeerrrr DDDDyyyynnnnaaaammmmiiiicccc | Preregister | Dynamic        | Dynamic         | Dynamic     |
  249.      _|____________________|______________|_____________________|_________________|___________|
  250.      |         DDDDyyyynnnnaaaammmmiiiicccc | Drop    Only   | Dynamic        | Dynamic         | Dynamic     |
  251.      _|____________________|______________||_____________________||_________________||___________|
  252.  
  253.  
  254.            The value _X_m_D_R_A_G__N_O_N_E does not appear in    the above
  255.            matrix.    When specified for either the initiator    or
  256.            receiver    side, _X_m_D_R_A_G__N_O_N_E implies that drag and    drop
  257.            transactions are    not supported.    A value    of
  258.  
  259.  
  260.  
  261.      Page 4                        (printed 11/11/03)
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.      XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV         XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))
  269.  
  270.  
  271.  
  272.            _X_m_D_R_A_G__D_R_O_P__O_N_L_Y    (Drop Only) results when an initiator
  273.            and receiver cannot compromise protocol styles, that
  274.            is, one client requires dynamic mode while the other
  275.            can only    support    preregister mode, or if    either
  276.            explicitly has specified    _X_m_D_R_A_G__D_R_O_P__O_N_L_Y.
  277.  
  278.       _d_e_f_a_u_l_t_B_u_t_t_o_n_E_m_p_h_a_s_i_s
  279.            This resource specifies whether to change the look of
  280.            the PushButton widget and gadget    that have the
  281.            _X_m_N_s_h_o_w_A_s_D_e_f_a_u_l_t    resource set.  When the    control    is the
  282.            default,    the PushButton has an etched out button    which
  283.            is enclosed with    another    etched in border.  When    this
  284.            resource    is "internal_highlight", the location cursor
  285.            appears in between the two etched borders to minimize
  286.            the space required.  When this resource is
  287.            "external_highlight", the default PushButton draws the
  288.            location    cursor outside the second border.
  289.  
  290.       _e_n_a_b_l_e_B_t_n_1_T_r_a_n_s_f_e_r
  291.            When this resource is True, it specifies    that the
  292.            actions for selection and transfer are integrated on
  293.            the Button1, and    the extend selection actions are
  294.            activated from Button2.    This resource impacts the
  295.            actions of the XmText, XmTextField, and XmList widgets.
  296.  
  297.       _e_n_a_b_l_e_B_u_t_t_o_n_T_a_b
  298.            When this resource is True, it specifies    whether    to
  299.            modify the action for the TAB key (KNextField and
  300.            KPrevField) to move as an arrow key until the boundary
  301.            of a tab    group is reached.  When    at the boundary    of the
  302.            tab group, the KNextField and KPrevField    actions    will
  303.            move to the next    or previous tab    group, respectively.
  304.            This resource affects the actions of XmPushButtons,
  305.            XmArrowButtons, and XmDrawnButtons.
  306.  
  307.       _e_n_a_b_l_e_D_r_a_g_I_c_o_n
  308.            Specifies which set of icons be used for    the system
  309.            default cursors during drag and drop operations.     When
  310.            this resource is    False, the standard Motif icons    are
  311.            used.  When this    resource is True, an alternate set of
  312.            icons that human    interface experts designed are used.
  313.            This resource affects both the 16x16 icons and the
  314.            32x32 icons that    are the    system defaults    for each of
  315.            the XmScreen objects associated with this display.
  316.  
  317.       _e_n_a_b_l_e_E_t_c_h_e_d_I_n_M_e_n_u
  318.            Specifies the shadowing of the button widgets and
  319.            gadgets in menus    when the control is activated.    When
  320.            _e_n_a_b_l_e_E_t_c_h_e_d_I_n_M_e_n_u is True, the selected    menu control
  321.            is drawn    with the shadow    etched in; this    shadow style
  322.            is consistent with the selected appearance of other
  323.            button widgets outside of menus.     When
  324.  
  325.  
  326.  
  327.      Page 5                        (printed 11/11/03)
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.      XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV         XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))
  335.  
  336.  
  337.  
  338.            _e_n_a_b_l_e_E_t_c_h_e_d_I_n_M_e_n_u is False, the    selected menu control
  339.            is drawn    with the shadow    etched out.  This resource
  340.            impacts the appearance of PushButtons, ToggleButtons,
  341.            and CascadeButtons when they are    children of an XmMenu.
  342.  
  343.       _e_n_a_b_l_e_M_u_l_t_i_K_e_y_B_i_n_d_i_n_g_s
  344.            Specifies whether to modify the widget and gadget
  345.            translations to support some MS-Windows common key
  346.            bindings.  When this resource is    False, the default,
  347.            the translations    are not    modified.  When    this resource
  348.            is True,    the following XtNbaseTranslations resources
  349.            are merged into the resource database.  When an
  350.            application has specified a XtNbaseTranslations
  351.            resource, it will have precedence over these
  352.            definitions.
  353.                   *XmArrowButton.baseTranslations: #override
  354.                         <Key>F1    : Help()
  355.                         c<Key>s    : PrimitiveParentCancel()
  356.                         <Key>Escape : PrimitiveParentCancel()
  357.                   *XmBulletinBoard.baseTranslations: #override
  358.                         <Key>F1:ManagerGadgetHelp()
  359.                         c<Key>s    : ManagerParentCancel()
  360.                         <Key>Escape : ManagerParentCancel()
  361.                   *XmCascadeButton.baseTranslations: #override
  362.                         <Key>F1:Help()
  363.                         c<Key>s    : CleanupMenuBar()
  364.                         <Key>Escape : CleanupMenuBar()
  365.                   *XmDragContext.baseTranslations : #override
  366.                         <Key>F1:HelpDrag()
  367.                         c<Key>s    : CancelDrag()
  368.                         <Key>Escape : CancelDrag()
  369.                   *XmDrawingArea.baseTranslations: #override
  370.                         <Key>F1    : DrawingAreaInput() ManagerGadgetHelp()
  371.                         c<Key>s    : DrawingAreaInput() ManagerParentCancel()
  372.                         <Key>Escape : DrawingAreaInput() ManagerParentCancel()
  373.                   *XmDrawnButton.baseTranslations: #override
  374.                         <Key>F1:Help()
  375.                         c<Key>s    : PrimitiveParentCancel()
  376.                         <Key>Escape : PrimitiveParentCancel()
  377.                         *XmFrame.baseTranslations: #override
  378.                         c<Key>s    : ManagerParentCancel()
  379.                         <Key>Escape : ManagerParentCancel()
  380.                   *XmLabel.baseTranslations: #override
  381.                         <Key>F1:Help()
  382.                         c<Key>s    : PrimitiveParentCancel()
  383.                         <Key>Escape : PrimitiveParentCancel()
  384.                         <Btn2Down>:
  385.                   *XmList.baseTranslations: #override
  386.                         <Key>F1:PrimitiveHelp()
  387.                         c<Key>s    : ListKbdCancel()
  388.                         <Key>Escape : ListKbdCancel()
  389.                   *XmManager.baseTranslations: #override
  390.  
  391.  
  392.  
  393.      Page 6                        (printed 11/11/03)
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.      XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV         XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))
  401.  
  402.  
  403.  
  404.                         <Key>F1:ManagerGadgetHelp()
  405.                         c<Key>s    : ManagerParentCancel()
  406.                         <Key>Escape : ManagerParentCancel()
  407.                   *XmPrimitive.baseTranslations: #override
  408.                         <Key>F1:PrimitiveHelp()
  409.                         c<Key>s    : PrimitiveParentCancel()
  410.                         <Key>Escape : PrimitiveParentCancel()
  411.                   *XmPushButton.baseTranslations: #override
  412.                         <Key>F1:Help()
  413.                         c<Key>s    : PrimitiveParentCancel()
  414.                         <Key>Escape : PrimitiveParentCancel()
  415.                         <Btn2Down>:
  416.                   *XmRowColumn.baseTranslations: #override
  417.                         <Key>F1:MenuHelp()
  418.                         c<Key>s    : ManagerParentCancel()
  419.                         <Key>Escape : ManagerParentCancel()
  420.                   *XmSash.baseTranslations: #override
  421.                         <Key>F1:Help()
  422.                         c<Key>s    : PrimitiveParentCancel()
  423.                         <Key>Escape : PrimitiveParentCancel()
  424.                   *XmScrollBar.baseTranslations: #override
  425.                         <Key>F1:PrimitiveHelp()
  426.                         c<Key>s    : CancelDrag()
  427.                         <Key>Escape : CancelDrag()
  428.                   *XmScrolledWindow.baseTranslations: #override
  429.                         <Key>F1:ManagerGadgetHelp()
  430.                         c<Key>s    : ManagerParentCancel()
  431.                         <Key>Escape : ManagerParentCancel()
  432.                   *XmTextField.baseTranslations: #override
  433.                         <Key>F1: Help()
  434.                         c<Key>s    : process-cancel()
  435.                         <Key>Escape : process-cancel()
  436.                         c<Key>x    : cut-clipboard()
  437.                         c<Key>c    : copy-clipboard()
  438.                         c<Key>v    : paste-clipboard()
  439.                         s<Key>Delete : cut-clipboard()
  440.                         c<Key>Insert : copy-clipboard()
  441.                         s<Key>Insert : paste-clipboard()
  442.                   *XmText.baseTranslations: #override
  443.                         <Key>F1: Help()
  444.                         c<Key>s    : process-cancel()
  445.                         <Key>Escape : process-cancel()
  446.                         c<Key>x    : cut-clipboard()
  447.                         c<Key>c    : copy-clipboard()
  448.                         c<Key>v    : paste-clipboard()
  449.                         s<Key>Delete : cut-clipboard()
  450.                         c<Key>Insert : copy-clipboard()
  451.                         s<Key>Insert : paste-clipboard()
  452.                   *XmToggleButton.baseTranslations: #override
  453.                         <Key>F1: Help()
  454.                         c<Key>s    : PrimitiveParentCancel()
  455.                         <Key>Escape : PrimitiveParentCancel()
  456.  
  457.  
  458.  
  459.      Page 7                        (printed 11/11/03)
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.      XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV         XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))
  467.  
  468.  
  469.  
  470.                         <Btn2Down>:
  471.  
  472.            From the    user's perspective, setting the
  473.            _e_n_a_b_l_e_M_u_l_t_i_K_e_y_B_i_n_d_i_n_g_s resource to True has the
  474.            following affect:
  475.  
  476.       +o    use of F1 function key for accessing help
  477.  
  478.       +o    use both    <Ctrl>s    and Escape for canceling an operation
  479.  
  480.       +o    disable drag from labels    in XmLabel, XmPushButton,
  481.            XmToggleButton, and XmScale widgets and gadgets
  482.  
  483.       +o    use both    <Ctrl>x    and <Shift>Delete to cut text
  484.  
  485.       +o    use both    <Ctrl>c    and <Ctrl>Insert to copy text
  486.  
  487.       +o    use both    <Ctrl>v    and <Shift>Insert to paste text
  488.  
  489.       _e_n_a_b_l_e_T_o_g_g_l_e_C_o_l_o_r
  490.            Specifies whether the fill color    of the ToggleButton
  491.            widget and gadget uses the background or    the highlight
  492.            color.  When _e_n_a_b_l_e_T_o_g_g_l_e_C_o_l_o_r is True, the fill    color
  493.            uses the    highlight color.  The highlight    color makes it
  494.            more obvious to the end user that the Toggle has    been
  495.            set.  When _e_n_a_b_l_e_T_o_g_g_l_e_C_o_l_o_r is False, the fill color
  496.            uses the    background color.  This    resource affects the
  497.            appearance of all ToggleButton widgets and gadgets.
  498.  
  499.       _e_n_a_b_l_e_T_o_g_g_l_e_V_i_s_u_a_l
  500.            Specifies the visual appearance of the ToggleButton
  501.            widget and gadgets.  When this resource is True,    the
  502.            look specified by the ToggleButton's _X_m_N_i_n_d_i_c_a_t_o_r_T_y_p_e
  503.            resource    is as follows:
  504.  
  505.       +o    _X_m_O_N_E__O_F__M_A_N_Y - a shadowed circle
  506.  
  507.       +o    _X_m_N__O_F__M_A_N_Y - a shadowed    square with a check mark when
  508.            set
  509.  
  510.            When this resource is False, the    look specified by the
  511.            ToggleButton's _X_m_N_i_n_d_i_c_a_t_o_r_T_y_p_e resource    is as follows:
  512.  
  513.       +o    _X_m_O_N_E__O_F__M_A_N_Y - a shadowed diamond
  514.  
  515.       +o    _X_m_N__O_F__M_A_N_Y - a shadowed    square
  516.  
  517.            This resource affects the appearance of all
  518.            ToggleButton widgets and    gadgets.
  519.  
  520.       _e_n_a_b_l_e_U_n_s_e_l_e_c_t_a_b_l_e_D_r_a_g
  521.            Specifies whether the user can drag text    that is    not
  522.  
  523.  
  524.  
  525.      Page 8                        (printed 11/11/03)
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.      XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV         XXXXmmmmDDDDiiiissssppppllllaaaayyyy((((3333XXXX))))
  533.  
  534.  
  535.  
  536.            selectable such as the labels on    buttons.  The default
  537.            is True so that the use can drag    all text.  When    this
  538.            resource    is set to False, the text on Buttons, Labels,
  539.            and Scales cannot be the    source of a drag operation.
  540.  
  541.     IIIInnnnhhhheeeerrrriiiitttteeeedddd RRRReeeessssoooouuuurrrrcccceeeessss
  542.       All of the superclass    resources inherited by XmDisplay are
  543.       designated N/A (not applicable).
  544.  
  545.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  546.       _A_p_p_l_i_c_a_t_i_o_n_S_h_e_l_l(_3_X),    _C_o_m_p_o_s_i_t_e(_3_X), _C_o_r_e(_3_X),
  547.       _T_o_p_L_e_v_e_l_S_h_e_l_l(_3_X), _V_e_n_d_o_r_S_h_e_l_l(_3_X), _W_M_S_h_e_l_l(_3_X),
  548.       _X_m_G_e_t_X_m_D_i_s_p_l_a_y(_3_X), and _X_m_S_c_r_e_e_n(_3_X).
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.      Page 9                        (printed 11/11/03)
  592.  
  593.  
  594.  
  595.